package com.softWang.system.controller.vo.systemRoles;

import com.softWang.system.po.SystemRoles;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ConvertSystemRoleMapper {
    ConvertSystemRoleMapper INSTANCE = Mappers.getMapper(ConvertSystemRoleMapper.class);

    SystemRoleGetRoleListResult toGetRoleListResult(SystemRoles role);

    List<SystemRoleGetRoleListResult> toGetRoleListResults(List<SystemRoles> roles);
}
